package com.baidu.Chapter02;

public class ex2_18 {
    public static void main(String[] args) {
        int a=1,b=2;
        System.out.print("a\tb\tpow(a,b)\n");

        for (int j = 0; j < 5; j++) {
            System.out.println(a+"\t"+b+"\t"+(int)Math.pow(a,b));
            a++;
            b++;
        }

    }
}
